/** 
 * @description: TODO (描述这个文件的作用) 
 * Project Name:creditcat-bird, File Name:CreditDdqDecisionResult.java 
 * Copyright (c) 2017, 张新功,Inc.All Rights Reserved. 
*/
package com.vcredit.bird.vo.product.ddq;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.vcredit.creditcat.vo.CommonResultExt;
import com.vcredit.framework.util.JacksonUtil;

/** 
 * @description: TODO(描述这个类的作用) 
 * @author 张新功 
 * @date 2017年7月14日 
*/
public class CreditDdqDecisionResult implements Serializable {

  @JsonProperty("CreditStatus")
  private Integer auditResult;//授信状态         
  @JsonProperty("CreditAmount")
  private String creditAmt;//授信额度         
  @JsonProperty("AvailableAmount")
  private String availableAmount;//可用额度         
  @JsonProperty("RejectExpire")
  private String creditExpiretime;//拒绝获取额度的有效期
  @JsonProperty("CreditRemark")
  private String rejectMsg;//授信描述         


  public Integer getAuditResult() {
    return auditResult;
  }


  public void setAuditResult(Integer auditResult) {
    this.auditResult = auditResult;
  }


  public String getCreditAmt() {
    return creditAmt;
  }


  public void setCreditAmt(String creditAmt) {
    this.creditAmt = creditAmt;
  }


  public String getAvailableAmount() {
    return availableAmount;
  }


  public void setAvailableAmount(String availableAmount) {
    this.availableAmount = availableAmount;
  }


  public String getCreditExpiretime() {
    return creditExpiretime;
  }


  public void setCreditExpiretime(String creditExpiretime) {
    this.creditExpiretime = creditExpiretime;
  }


  public String getRejectMsg() {
    return rejectMsg;
  }


  public void setRejectMsg(String rejectMsg) {
    this.rejectMsg = rejectMsg;
  }

  public static void main(String[] args) throws JsonProcessingException {
    CreditDdqDecisionResult result = new CreditDdqDecisionResult();
    result.setAuditResult(1);
    result.setAvailableAmount("20000");
    result.setCreditAmt("60000");
    result.setCreditExpiretime("2017-09-01 12:00:00");
    result.setRejectMsg(null);
    CommonResultExt<CreditDdqDecisionResult> json = new CommonResultExt<CreditDdqDecisionResult>();
    json.setData(result);
    json.setStatus("1");
    json.setMsg("授信成功");
    System.out.println(JacksonUtil.Obj2Json(json));
  }

  /** 
    * @fields serialVersionUID : TODO(描述这个变量的作用) 
   */
  private static final long serialVersionUID = 1L;
}
